import { Vue, Component, Ref } from 'vue-property-decorator'

type VantSwipeMethod = {
  next: Function, // 下一页
  swipeTo: Function, // 跳转至某页面
}
@Component({})
export default class extends Vue {
  @Ref() readonly ReportSwipeRef!: VantSwipeMethod
  handleTurnNext() {
    this.ReportSwipeRef.next()
  }
  handleBackFirst() {
    this.ReportSwipeRef.swipeTo(0)
  }
}
